package com.googlecode.gendevcode.model.pdm;

/**
 * 字段结构
 * @author devilishking
 *
 */
public class ColumnPdmXml {
	private String id;    		   //编号
	private String name;  		   //表名
	private String code;  		   //编码
	private String tableObjectId;  //所属表结构编号
	private String dataType;	   //类型
	private String length;		   //长度
	private Boolean mandatory;	   //是否必填
	private Boolean isPK;		   //是否关键字
	private String dictionary;	   //字段的字典
	private String remark;		   //自定义注释
	private String space;	       //空格字符串
	
	public ColumnPdmXml(){
		mandatory = false;
		isPK = false;
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}

	public String getTableObjectId() {
		return tableObjectId;
	}
	public void setTableObjectId(String tableObjectId) {
		this.tableObjectId = tableObjectId;
	}

	public String getDataType() {
		return dataType;
	}
	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getLength() {
		return length;
	}
	public void setLength(String length) {
		this.length = length;
	}

	public Boolean getMandatory() {
		return mandatory;
	}
	public void setMandatory(Boolean mandatory) {
		this.mandatory = mandatory;
	}

	public Boolean getIsPK() {
		return isPK;
	}
	public void setIsPK(Boolean isPK) {
		this.isPK = isPK;
	}

	public String getDictionary() {
		return dictionary;
	}
	public void setDictionary(String dictionary) {
		this.dictionary = dictionary;
	}

	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSpace() {
		return space;
	}
	public void setSpace(String space) {
		this.space = space;
	}	
}